﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace CCSReport
{

    public class DocRoleCommisionCmd : SharpMap.Utilities.BaseCommand
    {
        private System.Windows.Forms.Form m_pMainForm;

        public DocRoleCommisionCmd()
        {
            base.m_caption = "认购书期间角色计佣表";
            base.m_name = "认购书期间角色计佣表";
            base.m_toolTip = "认购书期间角色计佣表";
        }

        public override void OnCreate(object hook)
        {
            m_pMainForm = (Form)hook;
        }


        public override void OnClick()
        {

            base.OnClick();
            DocRoleCommisionForm m_frmDocRoleCommisionForm = new DocRoleCommisionForm();
            m_frmDocRoleCommisionForm.MdiParent = m_pMainForm;
            m_frmDocRoleCommisionForm.Show();
            m_frmDocRoleCommisionForm.WindowState = FormWindowState.Maximized;
        }


    }


}
